package cn.tedu.attendance.service;

import cn.tedu.attendance.pojo.dto.AttendanceSaveParam;
import cn.tedu.attendance.pojo.dto.PageParam;
import cn.tedu.attendance.pojo.entity.Attendance;
import cn.tedu.attendance.pojo.vo.PageResult;

import java.util.List;

public interface AttendanceService {
    List<Attendance> findAll();
    Attendance findOne(Integer id);

    void add(Attendance attendance);
    void update(Attendance attendance);
    void delete(Integer id);

    PageResult<Attendance> pageQuery(PageParam param);

    void saveAttendance(AttendanceSaveParam attendanceSaveParam);
}
